#include "plc2llvm/PLCSymbols/Modifiers.h"
#include <string>

Access distinguishAccess(std::string& accessString){
    if(accessString == "PUBLIC"){
        return PUBLIC;
    } else if(accessString == "PROTECTED"){
        return PROTECTED;
    } else if(accessString == "PRIVATE"){
        return PRIVATE;
    }else if(accessString == "INTERNAL"){
        return INTERNAL;
    }else{ //词法分析错误，不该走到这一步
        return PUBLIC;
    }
}
